package fr.matspider.vampireinvader;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.BasicGame;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.gui.AbstractComponent;
import org.newdawn.slick.gui.MouseOverArea;
import org.newdawn.slick.state.StateBasedGame;

import fr.matspider.vampireinvader.entities.*;

public class VampireInvader extends StateBasedGame {
	
	public String linkImg = "res/img/";
	public String linkSounds = "res/sounds/";
	
	private MenuState menu;

	public VampireInvader() {
		super("Vampire-Invader");
	}
	
	public static void main(String[] args) throws SlickException{
		AppGameContainer game = new AppGameContainer(new VampireInvader());
		game.setDisplayMode(1024, 660, false);
		game.setTargetFrameRate(60);
		game.setShowFPS(false);
		game.start();
	}

	@Override
	public void render(GameContainer gc, Graphics g) throws SlickException {
		
	}

	@Override
	public void update(GameContainer gc, int delta) throws SlickException {
		
	}

	@Override
	public void initStatesList(GameContainer arg0) throws SlickException {
		menu = new MenuState(this);
		addState(menu);
	}

}
